package com.cheva.consumer;

import com.cheva.api.ITestService;
import com.cheval.rpcframe.protocal.ProxyFactory;

public class ConsumerTest {

    public static void main(String[] args) {
        ITestService service = ProxyFactory.getProxy(ITestService.class);
        String res1 = service.test1("张三");
        System.out.println(res1);
    }
}
